import http from '../../utils/request/request'


// 分页获取企业出库记录
export function getSupplyInfoBypage(page = 1, size = 3) {
    return http({
        url: `/breed/supply/out/record/${size}/${page}`,
        method: 'get'
    })
}

export function getBaseOutSupplyInfo(id, size, page) {
    return http({
        url: `/breed/supply/out/record/base/${id}/${size}/${page}`,
        method: 'get'
    })
}
export function removeBatch(data) {
    return http({
        url: `/breed/supply/out/record/batch`,
        method: 'delete',
        data
    })
}
export function remove(id) {
    return http({
        url: `/breed/supply/out/record/${id}`,
        method: 'delete',
    })
}
export function addSupply(data) {
    return http({
        url: `/breed/supply/out/record`,
        method: 'post',
        data
    })
}